import request from '@/utils/request'

export function list(query) {
    return request({
      url: '/system/homeMenu/list',
      method: 'get',
      params: query
    })
  }
// 新增
export function add(query) {
  return request({
    url: '/system/homeMenu/add',
    method: 'post',
    data: query
  })
}
// 编辑
  export function edit(query) {
    return request({
      url: '/system/homeMenu/edit',
      method: 'post',
      data: query
    })
  }
  // 编辑
  export function remove(query) {
    return request({
      url: '/system/homeMenu/remove',
      method: 'post',
      data: query
    })
  }
  // 删除
export function del(query) {
    return request({
      url: '/system/homeMenu/remove/'+query,
      method: 'get',
      data: query
    })
  }
  
  